﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PcArduinoControl
{
	public delegate void WatchdogFedHandler();
	public delegate void WatchdogTimeoutHandler();
	public delegate void DigitalOutputChangeHandler(byte pin, DigitalValue value);
	public delegate void AnalogOutputChangeHandler(byte pin, byte value);
	public delegate void DigitalInputChangeHandler(byte pin, DigitalValue value);
	public delegate void AnalogInputChangeHandler(byte pin, byte value);
	public delegate void DigitalInputStreamChangedHandler(byte pin, InputStreamMode mode);
	public delegate void AnalogInputStreamChangedHandler(byte pin, InputStreamMode mode);
	public delegate void ConnectionFailureHandler();
	internal delegate void ReceivedMessageHandler(Message message);
	internal delegate void ProtocolFailureHandler();
}
